package com.springboot.study.tests.designpattern.stratety;

import com.springboot.study.SpringbootStudyApplication;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: guodong
 * @Date: 2021/7/9 15:50
 * @Version: 1.0
 * @Description:
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {SpringbootStudyApplication.class})
public class Test {

    @Resource
    private List<ImportProcess> importProcesses;

    @org.junit.Test
    public void test(){
        importProcesses.forEach(data->{
            data.afterProcess();
        });
    }



}
